package com.erlinyou.im.common.util;

import java.util.concurrent.TimeUnit;

public class TimeUtil {
	/**
	 * 获取当前时间戳
	 * @return
	 * @throws InterruptedException
	 */
	public synchronized static long getCurrentTime() throws InterruptedException{
		TimeUnit.MILLISECONDS.sleep(1);
		long cTime = System.currentTimeMillis();
		return cTime;
	}
}
